import { BASEURL, Post } from './api.js';
//var api = require("./api.js").default;

const url = {
    getRoleList: BASEURL + "/api/getRoleList",
}

export const getRoleList = (params) => {
    return new Promise((resolve, reject) => {
        Post(url.getRoleList, params).then((res) => {
            resolve(res);
        }).catch((res) => {
            reject(res);
        });
    });

}


export default {
    getRoleList
}